package util.nlp.comparator;

import util.nlp.Node;

public class ByNodeDegree implements java.util.Comparator {
	public int compare(Object a, Object b) {
		int sdif = (int) (((Node) b).getDegree() - ((Node) a).getDegree());
		return sdif;
	}
}